package test;

import defectsim.agents.DefectAgent;

import defectsim.agents.Dislocation;

public class NoDislocationSourceTester extends DefectAgent{

	private Dislocation tester = null;

	private boolean multiplied = false;

	@Override
	public void percept() {
	}

	@Override
	public void mentalUpdate() {
	}

	@Override
	public void act() {
		if (!multiplied) {
			this.multiply(1000);
			multiplied = true;
		}
		
	}

	public NoDislocationSourceTester(){
		multiplied = false;
	}

	private void multiply(int noOfDislocations){
		// It is deliberately empty for no dislocation multiplication
	}

	public Dislocation getDislocationTester(){
		return tester;
	}

}
